package net.hn.hnms.biz.emgcy.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: baijiajun
 * @Date: 2022/9/14
 */
@Data
@TableName("dt_duty_record")
public class DutyRecordPo implements Serializable {
    @TableId(value ="id",type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "事故id")
    private Long dutyId;

    @ApiModelProperty(value = "要情类型,0-突发，1-接警")
    private String type;

    @ApiModelProperty(value = "要情标题")
    private String title;

    @TableField(exist = false)
    @ApiModelProperty(value = "事发地点")
    private String eventAddress;

    @ApiModelProperty(value = "联系电话")
    private String telephone;

    @ApiModelProperty(value = "事件类型")
    private String eventType;

    @ApiModelProperty(value = "事件等级 4-一般，3-较大，2-重大，1-特大")
    private String eventLevel;

    @ApiModelProperty(value = "编辑人")
    private String editorId;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "死亡人数")
    private Long deathNumber;

    @ApiModelProperty(value = "重伤（中毒）人数")
    private Long mayhemNumber;

    @ApiModelProperty(value = "轻伤人数")
    private Long woundNumber;

    @ApiModelProperty(value = "失踪人数")
    private Long missNumber;

    @ApiModelProperty(value = "受困（危及）人数")
    private Long troubleNumber;

    @ApiModelProperty(value = "报警详情")
    private String alarmContent;

    private Integer userId;

    private String createTime;

    private String updateTime;

    private Integer deteled;
}
